package com.dux.spbtservice.web;

import com.dux.spbtservice.aop.perm.Permission;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Title: TestResource <br>
 * Description: TestResource <br>
 * Date: 2018年10月24日
 *
 * @author 王东旭
 * @version 1.0.0
 * @since jdk8
 */

@RestController
@RequestMapping("test")
public class TestResource {

    @RequestMapping("t1")
    @Permission("abc")
    public String test1(){
        return "s";
    }
}
